package org.zjx.analysis.analyze.tap;


import org.zjx.command.util.ImageUtil;
import org.zjx.window.window.IWindow;

import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Collections;

public class ZZGTabAnalysis extends BaseTabAnalysis {

    public ZZGTabAnalysis(IWindow window) {
        super("朱紫国", window);
    }

    @Override
    public Rectangle getContentArea() {
        return ImageUtil.createRect(10, 80, 448, 355);
    }

    @Override
    protected void initResources() {

    }

    @Override
    public Rectangle closeArea() {
        return null;
    }

    @Override
    public Rectangle getOriginBounds() {
        return ImageUtil.createRect(133, 94, 666, 479);
    }

    @Override
    public Rectangle getRefImageArea() {
        return ImageUtil.createRect(246, 24, 287, 37);
    }

    @Override
    public BufferedImage getRefImage() {
        BufferedImage bufferedImage = ImageUtil.createImage("iVBORw0KGgoAAAANSUhEUgAAACoAAAAOCAYAAABZ/o57AAAEIklEQVR4XpVUC1NTRxTOH+vwHJCBigm5vAIYgwZUtGUoMFN8lakyghREpDHBJCQpSEEMD5Ugg4yC5SUoYGoV5RFLqRiopR2dIn7dPZe7hoQq/Wa+uXvOnj3n292zVxWmtUBh0elufKaxEA+XdKLSPCDs7RimMdE3Qe+EyTki/IXfduN4RW9o/Gadz/UO5B3rYOz8BDtYbgetUSmLT1b2gmNXho1sT/8TvNt4T+PggopIk2MIZ2r6UHL2Fq1V5oYnfJh/sYqjJzrhvDqBpeU15H9znXJFptRT7P9BuMSEhkv14NxgojjcHi/xzdt1Ybd7Hgl/lfkuieR8vrCCwdE5nKjoCcyL0Qc+Mf5z7S0a3Q8Rq7NRnSRjI/ljmM0Zv9exLWPTL7NvA8UmZrugitCa0XZjWiT+FKZ/WUK4NkjoOVloVIoZybkudqILeDbvB8+tcNn/F9QGByTjDxSbkGUPTLstknPkWL5OtS+/hQxX28SWxMrVc1HBDDzRyZ9/w7WbWzfKb4CjvmkE1ZYB2JvHyNblXRFCo1MsdGpcMOfM7Cs8nnkp7Jh0C+J0VooloXGZ9bA1j8JY1LqF9ydfUNCBwtYQxqaaUH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